package com.CIM.CIM_Spring.service.impl;

import com.CIM.CIM_Spring.DLL.TinTerrainDLL;
import com.CIM.CIM_Spring.dto.TifProcessInfoDto;
import com.CIM.CIM_Spring.service.TinTerrainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TinTerrainServiceImpl implements TinTerrainService {
    @Autowired
    private TinTerrainDLL tinTerrainDLL;

    @Override
    public String dem2tintiles(TifProcessInfoDto tifProcessInfoDto) {

        return tinTerrainDLL.dem2tintiles
                (tifProcessInfoDto.getX1()
                , tifProcessInfoDto.getY1()
                , tifProcessInfoDto.getX2()
                , tifProcessInfoDto.getY2()
                , tifProcessInfoDto.getInput()
                , tifProcessInfoDto.getOutput());
    }
}
